UCF STIG Viewer Logo

The macOS system must configure login window to prompt for username and password.


Overview

Finding ID Version Rule ID IA Controls Severity
V-259563 APPL-14-005052 SV-259563r941311_rule Medium
Description
The login window must be configured to prompt all users for both a username and a password. By default, the system displays a list of known users on the login window, which can make it easier for a malicious user to gain access to someone else's account. Requiring users to type in both their username and password mitigates the risk of unauthorized users gaining access to the information system.
STIG Date
Apple macOS 14 (Sonoma) Security Technical Implementation Guide 2024-01-10

Details

Check Text ( C-63302r941309_chk )
Verify the macOS system is configured to prompt for username and password at the login window with the following command:

/usr/bin/osascript -l JavaScript << EOS
$.NSUserDefaults.alloc.initWithSuiteName('com.apple.loginwindow')\
.objectForKey('SHOWFULLNAME').js
EOS

If the result is not "true", this is a finding.
Fix Text (F-63210r941310_fix)
Configure the macOS system to prompt for username and password at the logon window by installing the "com.apple.loginwindow" configuration profile.